.class Lcom/hyphenate/chat/EMClient$2;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic this$0:Lcom/hyphenate/chat/EMClient;

.field final synthetic val$_lastLoginUser:Ljava/lang/String;

.field final synthetic val$callback:Lcom/hyphenate/EMCallBack;

.field final synthetic val$lastLoginPwd:Ljava/lang/String;

.field final synthetic val$lastLoginUser:Ljava/lang/String;


# direct methods
.method constructor <init>(Lcom/hyphenate/chat/EMClient;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/hyphenate/EMCallBack;)V
    .locals 0

    iput-object p1, p0, Lcom/hyphenate/chat/EMClient$2;->this$0:Lcom/hyphenate/chat/EMClient;

    iput-object p2, p0, Lcom/hyphenate/chat/EMClient$2;->val$_lastLoginUser:Ljava/lang/String;

    iput-object p3, p0, Lcom/hyphenate/chat/EMClient$2;->val$lastLoginUser:Ljava/lang/String;

    iput-object p4, p0, Lcom/hyphenate/chat/EMClient$2;->val$lastLoginPwd:Ljava/lang/String;

    iput-object p5, p0, Lcom/hyphenate/chat/EMClient$2;->val$callback:Lcom/hyphenate/EMCallBack;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    iget-object v0, p0, Lcom/hyphenate/chat/EMClient$2;->this$0:Lcom/hyphenate/chat/EMClient;

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMClient;->getChatConfigPrivate()Lcom/hyphenate/chat/a/b;

    move-result-object v0

    iget-object v1, p0, Lcom/hyphenate/chat/EMClient$2;->val$_lastLoginUser:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/a/b;->b(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/hyphenate/chat/EMClient$2;->this$0:Lcom/hyphenate/chat/EMClient;

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMClient;->groupManager()Lcom/hyphenate/chat/EMGroupManager;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMGroupManager;->loadAllGroups()V

    iget-object v0, p0, Lcom/hyphenate/chat/EMClient$2;->this$0:Lcom/hyphenate/chat/EMClient;

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMClient;->chatManager()Lcom/hyphenate/chat/EMChatManager;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMChatManager;->loadAllConversationsFromDB()V

    iget-object v0, p0, Lcom/hyphenate/chat/EMClient$2;->this$0:Lcom/hyphenate/chat/EMClient;

    iget-object v1, p0, Lcom/hyphenate/chat/EMClient$2;->val$lastLoginUser:Ljava/lang/String;

    iget-object v2, p0, Lcom/hyphenate/chat/EMClient$2;->val$lastLoginPwd:Ljava/lang/String;

    iget-object v3, p0, Lcom/hyphenate/chat/EMClient$2;->val$callback:Lcom/hyphenate/EMCallBack;

    invoke-virtual {v0, v1, v2, v3}, Lcom/hyphenate/chat/EMClient;->autoLogin(Ljava/lang/String;Ljava/lang/String;Lcom/hyphenate/EMCallBack;)V

    return-void
.end method
